<template>
  <div class="nologin">
    <div class="header"></div>
    <h3>欢迎来到OMINI</h3>
    <div class="content">
      <p>想看更多? 立即登录</p>
      <div class="btn" @click="tologin">登录</div>
    </div>
  </div>
</template>
<style lang="scss" scoped>
.nologin {
  background-color: #c1ab96;
  height: 100vh;
  padding: 20px;
  .header {
    height: 60px;
  }
  h3 {
    text-align: left;
    color: #fff;
    font-size: 20px;
  }
  .content {
    height: 80%;
    overflow: hidden;
    p {
      margin-top: 45%;
      font-weight: 700;
      font-size: 20px;
      color: white;
      margin-bottom: 20px;
    }
    .btn {
      text-align: center;
      width: 121px;
      line-height: 32px;
      background-color: #fff;
      color: #c1ab96;
      margin: auto;
      border-radius: 99px;
    }
  }
}
</style>

<script>
export default {
  methods: {
    tologin() {
      this.$router.history.push("/login");
    },
  },
};
</script>